package com.xayy.mgt.service;

import cn.kawins.base.result.CheckResult;
import cn.kawins.mybatis.BaseService;
import com.github.pagehelper.PageInfo;
import com.xayy.mgt.model.PerformanceIndicators;
import com.xayy.mgt.model.dto.NodeInfoDto;
import com.xayy.mgt.model.vo.PerformanceIndicatorVo;

import java.util.List;

public interface PerformanceIndicatorsService extends BaseService<PerformanceIndicators> {

    CheckResult<Object> savePerformanceIndicators(PerformanceIndicatorVo performanceIndicatorVo);

    CheckResult<Object> updatePerformanceIndicators(PerformanceIndicatorVo performanceIndicatorVo);

    CheckResult<List<PerformanceIndicators>> getPerformanceIndicators(Long nodeId);

    CheckResult<Object> deletePerformanceIndicators(Long id);
    CheckResult<Object> deletePerformanceIndicators(List<Long> ids);
    CheckResult<Object> deleteByNodeId(Long id);

    PageInfo<PerformanceIndicators> pageList(NodeInfoDto nodeInfoDto);

    CheckResult<Object> getInfo(Long id);


}
